package com.ouc.dataMange.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ouc.dataMange.mapper.SysEddyFileMapper;
import com.ouc.dataMange.domain.SysEddyFile;
import com.ouc.dataMange.service.ISysEddyFileService;

/**
 * SysEddyFileService业务层处理
 * 
 * @author ouc
 * @date 2025-07-28
 */
@Service
public class SysEddyFileServiceImpl implements ISysEddyFileService 
{
    @Autowired
    private SysEddyFileMapper sysEddyFileMapper;

    /**
     * 查询SysEddyFile
     * 
     * @param fileId SysEddyFile主键
     * @return SysEddyFile
     */
    @Override
    public SysEddyFile selectSysEddyFileByFileId(Integer fileId)
    {
        return sysEddyFileMapper.selectSysEddyFileByFileId(fileId);
    }

    /**
     * 查询SysEddyFile列表
     * 
     * @param sysEddyFile SysEddyFile
     * @return SysEddyFile
     */
    @Override
    public List<SysEddyFile> selectSysEddyFileList(SysEddyFile sysEddyFile)
    {
        return sysEddyFileMapper.selectSysEddyFileList(sysEddyFile);
    }

    /**
     * 新增SysEddyFile
     * 
     * @param sysEddyFile SysEddyFile
     * @return 结果
     */
    @Override
    public int insertSysEddyFile(SysEddyFile sysEddyFile)
    {
        return sysEddyFileMapper.insertSysEddyFile(sysEddyFile);
    }

    /**
     * 修改SysEddyFile
     * 
     * @param sysEddyFile SysEddyFile
     * @return 结果
     */
    @Override
    public int updateSysEddyFile(SysEddyFile sysEddyFile)
    {
        return sysEddyFileMapper.updateSysEddyFile(sysEddyFile);
    }

    /**
     * 批量删除SysEddyFile
     * 
     * @param fileIds 需要删除的SysEddyFile主键
     * @return 结果
     */
    @Override
    public int deleteSysEddyFileByFileIds(Integer[] fileIds)
    {
        return sysEddyFileMapper.deleteSysEddyFileByFileIds(fileIds);
    }

    /**
     * 删除SysEddyFile信息
     * 
     * @param fileId SysEddyFile主键
     * @return 结果
     */
    @Override
    public int deleteSysEddyFileByFileId(Integer fileId)
    {
        return sysEddyFileMapper.deleteSysEddyFileByFileId(fileId);
    }
}
